using B.S.NewMedical.ErrorCode;
using MediatR;

namespace B.S.NewMedical.Api.Write.Application.Command.User
{
    /// <summary>
    /// 保存用户权限命令
    /// </summary>
    public class SaveUserPermissionsCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public required int UserId { get; set; }

        /// <summary>
        /// 权限ID列表
        /// </summary>
        public List<int> PermissionIds { get; set; } = new();
    }
} 